package com.ad.platform.model;

import com.ad.platform.model.base.BaseModel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 微信用户表
 * </p>
 *
 * @author gdx
 * @since 2021-03-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="WxUser对象", description="微信用户表")
public class WxUser extends BaseModel implements Serializable {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "uuid")
    private String uuid;

    @ApiModelProperty(value = "sessionKey")
    private String sessionKey;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "微信名")
    private String wechatName;

    @ApiModelProperty(value = "真实名称")
    private String realName;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "")
    private Integer userType;

    @ApiModelProperty(value = "开放平台union_id")
    private String unionId;

    @ApiModelProperty(value = "服务号openid")
    private String serviceOpenId;

    @ApiModelProperty(value = "商家小程序openid")
    private String merchantOpenId;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "头像路径")
    private String img;

    @ApiModelProperty(value = "性别（0位置1男性2女性）")
    private Integer sex;

    @ApiModelProperty(value = "用户个人资料填写的省份")
    private String province;

    @ApiModelProperty(value = "普通用户个人资料填写的城市")
    private String city;

    @ApiModelProperty(value = "国家，如中国为CN")
    private String country;

    @ApiModelProperty(value = "微信商户号")
    private String wxMerchantNo;


}
